<?php
$this->breadcrumbs=array(
	'试卷管理'=>array('admin'),
	$model->tests_name,
);

$this->menu=array(
	array('label'=>'新增', 'url'=>array('create')),
	array('label'=>'修改', 'url'=>array('update', 'id'=>$model->tests_id)),
	array('label'=>'删除', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->tests_id),'confirm'=>'删除确认？')),
	array('label'=>'管理', 'url'=>array('admin')),
);
?>


<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'tests_name',
		'tests_score',
		array('name'=>'tests_memo','type'=>'html'),
		array(               // related city displayed as a link
            'name'=>'tests_creater_id',
			'value'=>$model->author->user_name,
        ),
		'tests_create_time',
		'tests_edit_time',
	),
)); ?>
